#include <stdio.h>

int main()
{
    int a,b,c = 0;
    int m = 0;
    printf("Tips:输入的数字用空格隔开\n请输入三个数：");
    scanf("%d %d %d", &a, &b, &c);
    if(a < b)
    {
         m = b;
         b = a;
         a = m;
    }
    if(b < c)
    {
        m = c;
        c = b;
        b = m;
    }
    if(a < b)
    {
        m = b;
        b = a;
        a = m;
    }
    printf("%d %d %d", a, b, c);
    return 0;
}
   